package com.my.thread;

/**
 * @author marshal
 * @version 2021-05-21
 */
public class ThreadTest {
    public static void main(String[] args) {
        Thread thread = new Thread(() -> {
            for (int i = 0; i < 10; i++) {
                System.out.println("i = " + i);
            }
        });
        thread.start();
    }
}
